package com.usian.apis.admin.v1;

import com.usian.model.admin.dtos.ChannelDto;
import com.usian.model.admin.dtos.SensitiveDto;
import com.usian.model.admin.pojos.AdChannel;
import com.usian.model.admin.pojos.AdSensitive;
import com.usian.model.common.dtos.PageResponseResult;
import com.usian.model.common.dtos.ResponseResult;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiOperation;

/**
 * @创建人 XvYiFan
 * @创建时间 2022/10/10
 * @描述  敏感词管理接口
 */
@Api(value = "敏感词管理",tags = "Sensitive",description = "敏感词管理API")
public interface SensitiveControllerApi {

    /**
     *@描述   查询所有带分页
     *@参数 size page name
     *@返回值 PageResponseResult
     */
    @ApiOperation("查询敏感词信息")
    public PageResponseResult findAll(SensitiveDto sensitiveDto);

    /**
     *@描述   添加
     *@params adSensitive
     *@return ResponseResult
     */
    @ApiOperation("保存敏感词信息")
    public ResponseResult add(AdSensitive adSensitive);

    /**
     *@描述   修改回显
     *@params id
     *@return ResponseResult
     */
    @ApiOperation("回显敏感词信息")
    public ResponseResult findById(Integer id);

    /**
     *@描述   修改
     *@params adSensitive
     *@return ResponseResult
     */
    @ApiOperation("修改敏感词信息")
    public ResponseResult update(AdSensitive adSensitive);

    /**
     *@描述   删除
     *@params id
     *@return ResponseResult
     */
    @ApiOperation("删除敏感词信息")
    @ApiImplicitParam(name = "id",value = "敏感词Id",required = true,dataType = "int")
    public ResponseResult delete(Integer id);



    /**
     *@描述  批量删除敏感词信息
     *@params [ids]
     *@return ResponseResult
     */
    @ApiOperation("批量删除敏感词信息")
    public ResponseResult deletes(Integer[] ids);
}
